<template>
  <div class="backGround">
    <div class="record-page">
      <van-nav-bar fixed title="申请记录" />

      <div class="title-padding"></div>

      <record-item />
      <div class="bottomBox"></div>
    </div>
  </div>
</template>

<script>
/* eslint-disable */
import {
  fangkexinxi_add,
  fangkexinxi_update,
  fangkexinxi_delete,
  fangkexinxi_page,
} from "@/api";
import { getLocal } from "@/utils";
export default {
  name: "record-page",
  data() {
    return {
      // list: [
      //   {
      //     id: 1,
      //     laifangshiyou: "校园参观预约",
      //     laifangxingming: "钟港城",
      //     shenqingshijian: "2024-03-06 12:34:56",
      //     laifangshijian: "2024-03-11 12:34:56",
      //     likaishijian: "2024-03-12 12:34:56",
      //     shhf: "欢迎来访浙江理工大学~~",
      //     sfsh: "是",
      //     lianxishouji: "13600000001",
      //   },
      // ],

      // loading: false,
      finished: false,
      record: {
        applyTime: "2022-01-01",
        approvalResult: "通过",
        visitorName: "张三",
        contactPhone: "123456789",
        visitPurpose: "商务洽谈",
      },
    };
  },
  // methods: {
  //   async fangkexinxiPage() {
  //     console.log(11111111);
  //     const res = await fangkexinxi_page({
  //       laifangxingming: this.visitorData.name,
  //     });
  //     this.list = res.data.list;
  //     console.log("this.list", this.list);
  //   },
  //   getDetail() {
  //     this.visitorData = getLocal("visitorData");
  //   },
  // },
  // created() {
  //   this.getDetail();
  //   this.fangkexinxiPage();
  // },
  // watch: {
  //   $route(to, from) {
  //     if (to.path === "/record") {
  //       this.getDetail();
  //       this.fangkexinxiPage();
  //     }
  //   },
  // },
};
</script>

<style lang="less" scoped>
.backGround {
  background: #f5f5f5;
  height: 100vh;
}
.record-page {
  padding: 0 10px;
  background: #f5f5f5;
  margin-bottom: 50px;
  margin-top: 44px;
}
.title-padding {
  padding-top: 5px;
}
.bottomBox {
  padding-bottom: 7vh;
}
</style>
